//
//  ZYPersonManagerTableViewCell.m
//  ZYOils
//
//  Created by 段新瑞 on 2019/9/24.
//  Copyright © 2019 Mr.Xr. All rights reserved.
//

#import "ZYPersonManagerTableViewCell.h"

@interface ZYPersonManagerTableViewCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@property (weak, nonatomic) IBOutlet UILabel *sexLabel;

@property (weak, nonatomic) IBOutlet UILabel *phoneNumLabel;

@property (weak, nonatomic) IBOutlet UILabel *idCardLabel;

@property (weak, nonatomic) IBOutlet UIImageView *arrowImage;

@end

@implementation ZYPersonManagerTableViewCell

- (void)setModel:(ZYGetUserByManagerModel *)model {
    _model = model;
    self.nameLabel.text = model.userName;
    self.sexLabel.text = model.gender;
    self.phoneNumLabel.text = model.phone;
    self.idCardLabel.text = model.idCard;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    
    CGAffineTransform transform = CGAffineTransformIdentity;
    transform = CGAffineTransformRotate(transform, -M_PI);
    self.arrowImage.transform = transform;
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
